<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>图片回复管理</title>
	<#include '/frame/version.html'>
	<#include '/frame/manage/include_css.html'>
	<#include '/frame/manage/include_js.html'>
	<#include '/frame/taglib.html'>
</head>
<body id="nv_member" class="pg_CURMODULE">
<#assign current='menu_image_reply'>
	<div id="wp" class="wp">
		<#include "/include/header.html"/>
		<!--中间内容-->
		<div class="contentmanage">
			<div class="developer">
				<div class="tableContent">
					<#include "/include/left.html"/>
					<#include "/include/wxtop.html"/>
					<div class="content">
						<div class="cLineB">
							<h4 style="font-size:16px;">图片回复</h4>
							<div class="clr"></div>
						</div>
						<div class="cLine">
							<div class="pageNavigator left">
								<a class="btnGrayS" href='${basePath}/admin/wx/reply/img'>
									<img class="vm" src="${basePath}/images/add.png">&nbsp;&nbsp;新增
								</a>
	               			</div>
	               			<div class="pageNavigator right">
		               			<form action="${basePath}/admin/wx/reply/img/index" method="post" id="form_pagination">
		                			<input type="text" placeholder="请输入关键词查询" value="${keyword}" class="px" name="keyword" />
		                			<input class="btnGreen" type="submit" value="查询"/>
		            			</form>
	               			</div>
		           		</div>
	           			<table class="ListProduct Shallow_border_color" border="0"
								cellSpacing="0" cellPadding="0" width="100%">
		           			<thead>
		           				<tr>
		           					<th>编号</th>
		           					<th>关键词</th>
		           					<th class="answer">描述</th>
		           					<th>图片</th>
		           					<th>素材类型</th>
		           					<th class="keywords">生成时间</th>
		           					<th class="edit norightborder">操作</th>
		        				</tr>
		       				</thead>
	       					<tbody>
		       					<#if page?exists>
		       					<#list page.recordList as bean>
								<tr>
									<td valign="middle" align="center">${page.pernum*(page.currentPage-1)+bean_index+1}</td>
		  							<td>${bean.keyword}</td>
		  							<td>${bean.remarks}</td>
		  							<td class="img_thumb"><img src="${base}${bean.imagePath}" /></td>
		  							<td><#if bean.isForever==0>临时<#else>永久</#if></td>
		  							<td>${bean.createTime?datetime}</td>
		  							<td class="norightborder">
		  								<a href="javascript:void(0);"  onclick="editItem('${bean.id?default(0)}');">编辑</a>
		  								<a href="javascript:void(0);"  onclick="delItem('${bean.id?default(0)}');">删除</a>
		  							</td>
								</tr>
								</#list>
								</#if>
							</tbody>
						</table>
						<#include "/include/form_pagination.html"/>
						<#include "/include/simple_page_js.html"/>
					</div>
				</div>
			</div>
		</div>
	</div>
	<#include "/include/footer.html"/>
	
	<script type="text/javascript" src="${basePath}/js/manage/image_reply/include_ir_index.js?${script_version}"></script>
</body>
</html>